package com.example.springboot_demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("/helloC")
    public String sayHello(){
        return "hello,spring";
    }

    @RequestMapping("/helloCN")
    public String sayHelloCN(){
        return "hello,spring中文";
    }
}
